Install package
For .deb
For .AppImage
1 2
| chmod +777 *.AppImage ./*.AppImage
|
Fix package
1 2 3 4 5
| sudo apt -f install sudo apt update sudo apt install [dependencies] ... sudo apt install [package]
|
Manage process
See all the process:
Find the target pid
return the pid of the process
kill the process
Useful command
grep
Search for confirmed strings in file
1
| grep [option] [pattern] [file]
|
option
- -i: ignore capitalizing
- -v: inverse search
- -n: show the line num
- -f: reveral search of files in folder
- -i: only print the name od file
- -c: only print the line num
Example
display the battery percentage
1
| upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep percentage
|